package model.dao;

import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Map;

import model.vo.BoardCategoryVO;
import model.vo.BoardVO;
import model.vo.PageListVO;

public interface BoardDAO {

	public ArrayList<BoardCategoryVO> writePageView() throws SQLException;

	public void write(BoardVO vo) throws SQLException;

	public PageListVO pageList(int page) throws SQLException;

	public BoardVO read(int no) throws SQLException;

	public void reWrite(BoardVO vo) throws SQLException;

	public void update(BoardVO bvo) throws SQLException;

	public void delete(int titleNo) throws SQLException;

	public PageListVO searchByTitle(Map map) throws SQLException;
	
	public PageListVO searchByWriter(Map map) throws SQLException;

	
}
